package com.sun.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.userdetails.UserDetails;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.Collection;

/**
 * @author syh
 * @date 2021/7/3 11:22
 * 系统用户信息
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@Table(name = "sys_user")
public class SysUser {

    @Column(name = "l_id")
    private Integer id;

    @Column(name = "vc_user_name")
    private String userName;

    @Column(name = "vc_password")
    private String password;

    @Column(name = "vc_address")
    private String address;

    @Column(name = "vc_email")
    private String email;

    @Column(name = "vc_sex")
    private String sex;

}

